<?php

$emailStr = "Email";
$oldpasswordStr = "Staré heslo";
$newpasswordStr = "Nové heslo";
$newpasswordStrConfirm = "Potvrdenie nového heslo";
$submitStr = "Odoslať";

if (isEnglish())
{
    $emailStr = "Email";
    $oldpasswordStr = "Old password";
    $newpasswordStr = "New password";
    $newpasswordStrConfirm = "Confirm new password";
    $submitStr = "Send";
}

// dorobit kontroly, aby sa hesla rovnali
$formStr = "
<form id=\"loginform\" method=\"post\" action=\"applogic/changepassword.php\">
<table class=\"formCentered\">
<tr>
<td class=\"label\"><label id=\"lemailaddress\" for=\"emailaddress\">$emailStr</label></td>
<td class=\"field\"><input id=\"emailaddress\" name=\"emailaddress\" type=\"text\" value=\"\" maxlength=\"150\" ></td>
</tr>
<tr>
<td class=\"label\"><label id=\"loldpassword\" for=\"oldpassword\">$oldpasswordStr</label></td>
<td class=\"field\"><input id=\"oldpassword\" name=\"oldpassword\" type=\"password\" maxlength=\"50\" value=\"\" ></td>
</tr>

<tr>
<td class=\"label\"><label id=\"lnewpassword\" for=\"newpassword\">$newpasswordStr</label></td>
<td class=\"field\"><input id=\"newpassword\" name=\"newpassword\" type=\"password\" maxlength=\"50\" value=\"\" ></td>
</tr>

<tr>
<td class=\"label\"><label id=\"lconfirmnewpassword\" for=\"confirmnewpassword\">$newpasswordStrConfirm</label></td>
<td class=\"field\"><input id=\"confirmnewpassword\" name=\"confirmnewpassword\" type=\"password\" maxlength=\"50\" value=\"\" ></td>
</tr>

<tr>
<td></td>
<td><input type=\"submit\" name=\"newname\" value=\"$submitStr\" ></td>
</tr>

</table>

</form>";

echo( $formStr );

?>
